<?php
	abstract class BaseView {
		protected $data;
		protected $showHeader, $showUserToolbar;
		
		public function __construct() {
			$this->showHeader = $this->showUserToolbar = true;
		}
		
		function setData($_data) {
			$this->data = $_data;
		}
		
		function getShowUserToolbar() {
			return $this->showUserToolbar;
		}
		
		function getShowHeader() {
			return $this->showHeader;
		}
		
		abstract function render();
	}
?>